package com.platform.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.LotteryWinningDao;
import com.platform.entity.LotteryWinningEntity;
import com.platform.service.LotteryWinningService;

/**
 * 开奖记录表Service实现类
 *
 * @author liweihai
 * @email liweihai12345@sina.com
 * @date 2019-05-05 14:01:12
 */
@Service("lotteryWinningService")
public class LotteryWinningServiceImpl implements LotteryWinningService {
    @Autowired
    private LotteryWinningDao lotteryWinningDao;

    @Override
    public LotteryWinningEntity queryObject(Integer id) {
        return lotteryWinningDao.queryObject(id);
    }

    @Override
    public List<LotteryWinningEntity> queryList(Map<String, Object> map) {
        return lotteryWinningDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return lotteryWinningDao.queryTotal(map);
    }

    @Override
    public int save(LotteryWinningEntity lotteryWinning) {
        return lotteryWinningDao.save(lotteryWinning);
    }

    @Override
    public int update(LotteryWinningEntity lotteryWinning) {
        return lotteryWinningDao.update(lotteryWinning);
    }

    @Override
    public int delete(Integer id) {
        return lotteryWinningDao.delete(id);
    }

    @Override
    public int deleteBatch(Integer[] ids) {
        return lotteryWinningDao.deleteBatch(ids);
    }
}
